<%@ page import="com.ld.businessCard.entity.User" %><%--
  Created by IntelliJ IDEA.
  User: 刘邓
  Date: 2023-10-31
  Time: 10:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>结果</title>
</head>
<body>
<%
    User user = (User)session.getAttribute("user");
	String url;
	if(user.getStatus() == 0){
		url = "/home/user/index.jsp";
    }else {
        url = "/home/admin/index.jsp";
    }
%>
<h2>${message}</h2>
<a href="<%=url%>">返回主页</a>
</body>
</html>
